package com.xxin.pojo.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
    @author 小欣
    @version 1.0
    @since 1.8
*/

/**
 * 药品表
 */
public class Drug implements Serializable {
	private Long id;
	
	/**
	 * 药品名称
	 */
	private String name;
	
	/**
	 * 生产厂家
	 */
	private String company;
	
	/**
	 * 单价
	 */
	private BigDecimal price;
	
	/**
	 * 药品图片URL
	 */
	private String image;
	
	/**
	 * 药品类型 1-->甲类；2-->乙类；3-->丙类
	 */
	private Integer type;
	
	/**
	 * 生产日期
	 */
	private LocalDate productionDate;
	
	/**
	 * 创建时间
	 */
	private LocalDateTime createdTime;
	
	/**
	 * 修改时间
	 */
	private LocalDateTime updatedTime;
	
	private static final long serialVersionUID = 1L;
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getCompany() {
		return company;
	}
	
	public void setCompany(String company) {
		this.company = company;
	}
	
	public BigDecimal getPrice() {
		return price;
	}
	
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	
	public String getImage() {
		return image;
	}
	
	public void setImage(String image) {
		this.image = image;
	}
	
	public Integer getType() {
		return type;
	}
	
	public void setType(Integer type) {
		this.type = type;
	}
	
	public LocalDate getProductionDate() {
		return productionDate;
	}
	
	public void setProductionDate(LocalDate productionDate) {
		this.productionDate = productionDate;
	}
	
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
	
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}
	
	public LocalDateTime getUpdatedTime() {
		return updatedTime;
	}
	
	public void setUpdatedTime(LocalDateTime updatedTime) {
		this.updatedTime = updatedTime;
	}
}